package com.aiti.lulian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 招募单物品实体类
 *
 * @author diaozhende
 * @email diaozhende@163.com
 * @date 2024-06-12 15:11:31
 */
@Data
@TableName("show_supplier_inquiry_order_goods")
public class LuLianSupplierInquiryOrderGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID（主键）
     */
    @TableId(value = "base_id", type = IdType.ASSIGN_ID)
    private String baseId;

    /**
     * 物品名称
     */
    @TableField("base_name")
    private String baseName;

    /**
     * 数量
     */
    @TableField("num")
    private Long num;

    /**
     * 单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 采购额上限,单位是:万元
     */
    @TableField("buy_upper")
    private BigDecimal buyUpper;

    /**
     * 招募单ID
     */
    @TableField("order_id")
    private String orderId;
}